package com.sixth.core.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* 
* @TableName health_patient_result
*/
@TableName(value ="health_patient_result")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PatientResult implements Serializable {

    /**
    * 测试结果id
    */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("测试结果id")
    private String prId;
    /**
    * 测试题目id
    */
    @ApiModelProperty("测试题目id")
    private String htId;
    /**
    * 测试结果标题
    */
    @ApiModelProperty("测试结果标题")
    private String htResTitle;
    /**
    * 测试结果内容
    */
    @ApiModelProperty("测试结果内容")
    private String htResContent;
    /**
    * 测试时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("测试时间")
    private LocalDateTime htTime;
    /**
    * 患者id，测试人
    */
    @ApiModelProperty("患者id，测试人")
    private String patientId;
}
